//
//  MBSpaceCollectionCompileView.h
//  MiBaoTu
//
//  Created by admin on 16/9/21.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//  编译弹出框

#import <UIKit/UIKit.h>

@class MBSpaceCollectionCompileView;
@protocol MBSpaceCollectionCompileViewDelegate <NSObject>

- (void)onSelectItemForCancel:(MBSpaceCollectionCompileView *)view;
- (void)onSelectItemForDelete:(MBSpaceCollectionCompileView *)view;
- (void)onSelectItemForNoCollection:(MBSpaceCollectionCompileView *)view;

@end

@interface MBSpaceCollectionCompileView : UIView

@property (nonatomic,assign)id<MBSpaceCollectionCompileViewDelegate>delegate;
@property (nonatomic,assign)UIDeviceOrientation     orientation;

- (id)initWithFrame:(CGRect)frame; //默认3个
- (id)initWithFrame:(CGRect)frame WithIndex:(NSInteger)index;

//变成可选择状态
- (void)onUpdateDataForDelegateAndCollection:(BOOL)isEnabled;

@end
